<%--
  Created by IntelliJ IDEA.
  User: Leven-HUI
  Date: 2018/10/19
  Time: 11:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
        <s:if test="list!=null">
            <table border="1px">
                <tr><td>用户名</td><td>密码</td></tr>
                <s:iterator value="list" id="u">
                    <tr>
                        <td>
                            <s:property value="#u.name"/>
                        </td>
                        <td>
                            <s:property value="#u.password"/>
                        </td>
                    </tr>
                </s:iterator>
            </table>
        </s:if>
</body>
</html>
